@model List<ToDo.Models.ItemViewModels>
@{
    Layout = null;
}
<div class="color-block" id="block4">
    <b>过期事项</b>
</div>
<ul class="ul-style">
    @foreach (var item in Model)
    {
        <li class="input-li">
            <input type="radio" name="R1" onclick="test(this)">
            <form action="/Item/ChangeItem" method="post" class="formInAxios">
                <input name="itemId" value="@item.ItemId" type="hidden" />
                <input class="input-inventory-name" type="submit" value="@item.Content" />
            </form>
            <span class="input-inventory-time">
                @item.CreateTime.Month/@item.CreateTime.Day  @item.CreateTime.Hour:@item.CreateTime.Minute
            </span>
            <a onclick="deleteItemInInventory(@item.ItemId,@item.ItemOfInventoryId)" data-toggle="modal" data-target="#deleteItemInInventoryModel">
                <img src="~/images/Inventory/删除 (2).png" class="remove-icon" />
            </a>
        </li>
    }
</ul>

